@deep: ~'>>>';

.content-wrap {

  .w0 {
    width: 0!important;
    padding: 0;
    margin: 0;
    display: none !important;
  }

  .l0 {
    left: 0!important;
  }

  .r0 {
    right: 0!important;
  }

  .super-slider,
  .slider {
    flex: 1;
  }

  .content-box {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .content-left,
  .content-right {
    position: absolute;
    width: 25%;
  }

  .content-left,
  .content-center,
  .content-right {
    bottom: 0;
  }

  .content-left {
    top: 0;
    left: 0;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
  }

  .content-center {
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .content-right {
    top: 0;
    right: 0;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .content-center {
    flex: 1;
    display: flex;
    flex-direction: column;

    .filter-wrapper {
      position: relative;

      .ivu-form-item-content {
        line-height: 30px;
      }

      @{deep} .ivu-dropdown-item {

        .name {
          line-height: 34px;
          margin-right: 15px;
          margin-left: 0;
          width: 60px;
        }

        .show-num {
          line-height: 34px;
          margin-left: 10px;
          width: 60px;
        }
      }
    }

    .params-setting {
      .gas-range {
        display: flex;

        .item {
          flex: 1;
        }
      }
    }

    .ivu-form-item {
      margin-top: 0;
      margin-bottom: 0;
    }

    .radio-text {
      margin-right: 10px;
      vertical-align: middle;
    }

    .chart-container {
      flex: 1;
      position: relative;
      width: 100%;
      height: 100%;
    }

    .chart {
      width: 100%;
      height: 100%;
    }
  }

  .content-left {
    .top-box,
    .bottom-box {
      flex: 1;
    }

    .top-box {
      margin-bottom: 10px;
    }
    .bar-line-box {
      width: 100%;
      height: 100%;
    }
    .total-num {
      position: absolute;
      top: 10px;
      right: 10px;
      color: #fff;
    }
  }

  .content-right {
    .top-box {
      flex: 1;
      margin-bottom: 10px;
    }

    .bar-line-box {
      display: flex;
      flex-direction: column;
      width: 100%;
      height: 100%;
    }
    .chart-box {
      flex: 1;
    }

    .sider-box {
      padding: 5px 15px;

      .name {
        margin-right: 6px;
        line-height: 1;
        font-size: 10px;
      }
    }

    .detail-box {
      padding: 0 10px;
      line-height: 1.5;
    }
    .show-detail-btn {
      text-align: center;
      margin-top: 10px;
    }
  }
  
  .collapse-icon {
    position: absolute;
    top: 5px;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    cursor: pointer;
  }

  .collapse-left-icon {
    left: 0;
  }

  .collapse-right-icon {
    right: 0;
  }
}

.candlestick-modal {
  @{deep} .ivu-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;

    .chart-box {
      flex: 1;
    }
  }
}
